package com.liveneo.adapter.base.mapper;

import java.util.List;
import java.util.Map;
import com.liveneo.adapter.base.entity.PrpmCaseInfoLossItemCyp;
import com.liveneo.adapter.base.entity.PrpmLossItemCyp;
import com.liveneo.adapter.mobile.model.dto.CaseInfoCDto;
import com.liveneo.adapter.mobile.model.request.GetPolicyItem31Request;

public interface PrpmLossItemCypMapper {
    int deleteByPrimaryKey(String lossItemCypId);

    int insert(PrpmLossItemCyp record);

    int insertSelective(PrpmLossItemCyp record);

    PrpmLossItemCyp selectByPrimaryKey(String lossItemCypId);

    int updateByPrimaryKeySelective(PrpmLossItemCyp record);

    int updateByPrimaryKey(PrpmLossItemCyp record);

    List<CaseInfoCDto> selectByCPhoneNo(String phoneNo);

    int updateStatusByUuid(Map<String, Object> param);

    PrpmCaseInfoLossItemCyp getAuditionResultByUuid(String lossItemUuid);

    List<PrpmLossItemCyp> selectLossByUserCodeAndCaseNo(Map<String, Object> map);

    int updateToSurPeoByCaseNo(PrpmLossItemCyp lossItemCyp);
    
    List<PrpmLossItemCyp> selectLossByCaseNo(String caseNo);

    PrpmLossItemCyp selectByRequest(GetPolicyItem31Request request);
    
    /***对外接口start**/
    PrpmLossItemCyp selectByLossItemCyp(PrpmLossItemCyp lossItemCyp);
    
    List<PrpmLossItemCyp> selectByLossItemCypList(PrpmLossItemCyp lossItemCyp);
    /***对外接口end**/
}